/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Billing.Model
{

    /// <summary>
    ///  resourceAeVo
    /// </summary>
    public class ResourceAeVo
    {

        ///<summary>
        /// 自增主键
        ///</summary>
        public int? Id{ get; set; }
        ///<summary>
        /// 站点标识1:中国 2:国际
        ///</summary>
        public int? Site{ get; set; }
        ///<summary>
        /// 应用编码
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 地域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 服务编码
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// 配置项
        ///</summary>
        public string Formula{ get; set; }
        ///<summary>
        /// 用户pin
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 资源ID
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// 计费类型
        ///</summary>
        public int? BillingType{ get; set; }
        ///<summary>
        /// 账单ID
        ///</summary>
        public int? SubBillId{ get; set; }
        ///<summary>
        /// 状态 0:无 1:正常 2:欠费, 3:因欠费而停机, 4:欠费删除资源, 6:已删除但已不欠费, 7:欠费延期，8:删除并且欠费，9:欠费删除数据，12:已过期, 13:因过期而停机, 14:过期删除资源, 17:过期延期 19:过期删除数据23:管理员停服，24:管理员删除,34:用户删除,35:退款删除
        ///</summary>
        public int? State{ get; set; }
        ///<summary>
        /// 首次欠费时间（各欠费状态）或过期时间（各过期状态）
        ///</summary>
        public string StateTime{ get; set; }
        ///<summary>
        /// 变成此状态的原因.0:无 1:账单欠费, 2:资源过期 ,3:加入、移出白名单 ,4:补扣款成功, 5:规则修改,6:续费 7:管理员操作,8:用户操作
        ///</summary>
        public int? Op{ get; set; }
        ///<summary>
        /// 是否为最后状态记录
        ///</summary>
        public int? IsLastRecord{ get; set; }
        ///<summary>
        /// 本条记录生成时刻、进入当前state的时刻
        ///</summary>
        public string CreateTime{ get; set; }
        ///<summary>
        /// 修改时间
        ///</summary>
        public string UpdateTime{ get; set; }
        ///<summary>
        /// 资源预计释放时间
        ///</summary>
        public string ToDeleteTime{ get; set; }
        ///<summary>
        /// CapState
        ///</summary>
        public int? CapState{ get; set; }
    }
}
